<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template index/re_header}
<style type="text/css">
   #edui1{z-index:1 !important;}
</style>
<script src="../lib/ueditor/ueditor.config.js"></script>
<script src="../lib/ueditor/ueditor.all.min.js"></script>
<script src="../lib/ueditor/lang/zh-cn/zh-cn.js"></script>

<div class="x-body">
	<div class="layui-main">
		<form class="layui-form" action="?" method="post">
			<input type="hidden" name="m" value="{$m}" />
			<input type="hidden" name="c" value="{$c}" />
			<input type="hidden" name="a" value="{$a}" />
			<input type="hidden" name="operation" value="doadd"/>
			<input type="hidden" name="id" value="{$info['id']}"/>
			<div class="layui-form-item">
				<label class="layui-form-label">彩种名称：</label>
				<div class="layui-input-inline">
					<input type="text" name="title" required="true" value="{$info['title']}" placeholder="开奖方式说明" autocomplete="off" class="layui-input">
				</div>
				<div class="layui-form-mid layui-word-aux"></div>
			</div>
			
			<div class="layui-form-item">
				<label class="layui-form-label">开放性质：</label>
				<div class="layui-input-block">
					<input type="radio" name="status" value="1" title="关闭" {if $info['status']}checked{/if}>
					<input type="radio" name="status" value="0" title="开启" {if !$info['status']}checked{/if}>
				</div>
			</div>
			
			<div class="layui-form-item">
				<label for="" class="layui-form-label"></label>
				<div class="layui-input-inline">
					<a class="layui-btn" href='{U('lottery/index')}'>返回</a>
					<button class="layui-btn" type="submit">确定</button>
				</div>
			</div>
		</form>
	</div>
</div>
{template index/re_footer}